<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=7" />
<title>{if isset($SEO['title']) && !empty($SEO['title'])}{$SEO['title']}{/if}{$SEO['site_title']}</title>
<meta name="Robots" content="all" />
<meta name="Googlebot" content="all" />
<meta name="Author" content="内蒙古呼和浩特市第二中学网校" />
<meta name="Copyright" content="内蒙古呼和浩特市第二中学版权所有" />
<meta name="keywords" content="{$SEO['keyword']}">
<meta name="description" content="{$SEO['description']}">
<link href="{CSS_PATH}public.css" rel="stylesheet" type="text/css" />
<link href="{CSS_PATH}detail.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="{JS_PATH}jquery.min.js"></script>
<script type="text/javascript" src="{JS_PATH}jquery.sGallery.js"></script>
<script type="text/javascript" src="{JS_PATH}search_common.js"></script>
</head>
<body>
{template "content","header_common"}
<div id="page">



<div id="boardbox">
	<div class="crumb">
		<b>当前位置：</b>
		<a href="{siteurl($siteid)}">首页</a><span> > </span>{catpos($catid)} 正文
	</div>
	
	<div class="leftside">
		<span class="contentbox">
			<h1>{$title}</h1>
			<span class="infomation">
				{if $copyfrom}<span>来源：{$copyfrom}</span>{/if}
				<span>发布时间：{$inputtime}</span>
				<span>阅读权限：{if $readpoint}收费{else}免费{/if}</span>
				<span>评论：<a href="#comment_iframe" id="comment">0</a></span>
				<span>点击：<a id="hits"></a></span>
                <span>字体：<a class="small">小</a><a class="middle">中</a><a class="big">大</a></span>
			</span><!-- css class infomation end -->
			
			<span class="content">
				{if $allow_visitor==1}
					{$content}
                                           <object id="player" height="64" width="260" classid="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6"> 
<param NAME="AutoStart" VALUE="-1"> 
<!--是否自动播放--> 
<param NAME="Balance" VALUE="0"> 
<!--调整左右声道平衡,同上面旧播放器代码--> 
<param name="enabled" value="-1"> 
<!--播放器是否可人为控制--> 
<param NAME="EnableContextMenu" VALUE="-1"> 
<!--是否启用上下文菜单--> 
<param NAME="url" value="{$mp3Url}"> 
<!--播放的文件地址--> 
<param NAME="PlayCount" VALUE="1"> 
<!--播放次数控制,为整数--> 
<param name="rate" value="1"> 
<!--播放速率控制,1为正常,允许小数,1.0-2.0--> 
<param name="currentPosition" value="0"> 
<!--控件设置:当前位置--> 
<param name="currentMarker" value="0"> 
<!--控件设置:当前标记--> 
<param name="defaultFrame" value=""> 
<!--显示默认框架--> 
<param name="invokeURLs" value="0"> 
<!--脚本命令设置:是否调用URL--> 
<param name="baseURL" value=""> 
<!--脚本命令设置:被调用的URL--> 
<param name="stretchToFit" value="0"> 
<!--是否按比例伸展--> 
<param name="volume" value="50"> 
<!--默认声音大小0%-100%,50则为50%--> 
<param name="mute" value="0"> 
<!--是否静音--> 
<param name="uiMode" value="mini"> 
<!--播放器显示模式:Full显示全部;mini最简化;None不显示播放控制,只显示视频窗口;invisible全部不显示--> 
<param name="windowlessVideo" value="0"> 
<!--如果是0可以允许全屏,否则只能在窗口中查看--> 
<param name="fullScreen" value="0"> 
<!--开始播放是否自动全屏--> 
<param name="enableErrorDialogs" value="-1"> 
<!--是否启用错误提示报告--> 
<param name="SAMIStyle" value> 
<!--SAMI样式--> 
<param name="SAMILang" value> 
<!--SAMI语言--> 
<param name="SAMIFilename" value> 
<!--字幕ID--> 
</object> 
					<!--内容关联投票-->
					{if $voteid}<script language="javascript" src="{APP_PATH}index.php?m=vote&c=index&a=show&action=js&subjectid={$voteid}&type=2"></script>{/if}
					
				{else}
					<center>
                       <object id="player" height="64" width="260" classid="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6"> 
<param NAME="AutoStart" VALUE="-1"> 
<!--是否自动播放--> 
<param NAME="Balance" VALUE="0"> 
<!--调整左右声道平衡,同上面旧播放器代码--> 
<param name="enabled" value="-1"> 
<!--播放器是否可人为控制--> 
<param NAME="EnableContextMenu" VALUE="-1"> 
<!--是否启用上下文菜单--> 
<param NAME="url" value="{APP_PATH}index.php?m=content&c=readpoint&allow_visitor={$allow_visitor}"> 
<!--播放的文件地址--> 
<param NAME="PlayCount" VALUE="1"> 
<!--播放次数控制,为整数--> 
<param name="rate" value="1"> 
<!--播放速率控制,1为正常,允许小数,1.0-2.0--> 
<param name="currentPosition" value="0"> 
<!--控件设置:当前位置--> 
<param name="currentMarker" value="0"> 
<!--控件设置:当前标记--> 
<param name="defaultFrame" value=""> 
<!--显示默认框架--> 
<param name="invokeURLs" value="0"> 
<!--脚本命令设置:是否调用URL--> 
<param name="baseURL" value=""> 
<!--脚本命令设置:被调用的URL--> 
<param name="stretchToFit" value="0"> 
<!--是否按比例伸展--> 
<param name="volume" value="50"> 
<!--默认声音大小0%-100%,50则为50%--> 
<param name="mute" value="0"> 
<!--是否静音--> 
<param name="uiMode" value="mini"> 
<!--播放器显示模式:Full显示全部;mini最简化;None不显示播放控制,只显示视频窗口;invisible全部不显示--> 
<param name="windowlessVideo" value="0"> 
<!--如果是0可以允许全屏,否则只能在窗口中查看--> 
<param name="fullScreen" value="0"> 
<!--开始播放是否自动全屏--> 
<param name="enableErrorDialogs" value="-1"> 
<!--是否启用错误提示报告--> 
<param name="SAMIStyle" value> 
<!--SAMI样式--> 
<param name="SAMILang" value> 
<!--SAMI语言--> 
<param name="SAMIFilename" value> 
<!--字幕ID--> 
</object> 


<a href="{APP_PATH}index.php?m=content&c=readpoint&allow_visitor={$allow_visitor}">
		  <font color="red">
			  阅读此信息需要您支付 <b><i>{$readpoint} {if $paytype}元{else}点{/if}</i></b>，点击这里支付
		  </font>
	  </a>
					</center>
				{/if}
			</span><!-- css class content end -->
			
			
			{if $titles}
			<fieldset>
				<legend class="f14">本文导航</legend>
				<ul class="list blue row-2">
				{loop $titles $r}
					<li>{$n}、<a href="{$r[url]}">{$r[title]}</a></li>
				{/loop}
				</ul>
			</fieldset>
			{/if}
			
			<div id="pages" class="text-c">{$pages}</div>
			
			<span class="hotword">
				<strong>相关热词搜索：</strong>
				{loop $keywords $keyword}
				<a class="red" href="{APP_PATH}index.php?m=content&c=tag&catid={$catid}&tag={urlencode($keyword)}">
					{$keyword}
				</a>
				{/loop}	
			</span><!-- css class hotword end -->
  			<span class="pagenum">
                <p><strong>上一篇：</strong><a href="{$previous_page[url]}">{$previous_page[title]}</a></p><p>                <strong>下一篇：</strong><a href="{$next_page[url]}">{$next_page[title]}</a></p>
			</span><!-- css class pagenum end -->
			</span><!-- css class contentbox end -->
			
			<span class="aboutnews">
			{pc:content action="relation" relation="$relation" id="$id" catid="$catid" num="5" keywords="$rs[keywords]"}
            {if $data}
				<h3>相关新闻</h3>
				<ul>
				{loop $data $r}
					<li>
						<span>{date('Y-m-d',$r[inputtime])}</span>
						<a href="{$r[url]}" target="_blank">{$r[title]}</a>
					</li>
				{/loop}
				</ul>
            {/if}
			{/pc}
			</span><!-- css class aboutnews end -->
		
			<div class="bk15"></div>
            {if module_exists('mood')}
				<script type="text/javascript" src="{APP_PATH}index.php?m=mood&c=index&a=init&id={id_encode($catid,$id,$siteid)}"></script>
			{/if}
			
		<div class="Article-Tool">
			分享到：
		  <img src="http://v.t.qq.com/share/images/s/weiboicon16.png" style="padding-bottom:3px;" onclick="postToWb();" class="cu" title="分享到腾讯微博"/>
		  <script type="text/javascript">
			function postToWb(){
				var _t = encodeURI(document.title);
				var _url = encodeURIComponent(document.location);
				var _appkey = encodeURI("cba3558104094dbaa4148d8caa436a0b");
				var _pic = encodeURI('{$thumb}');
				var _site = '';
				var _u = 'http://v.t.qq.com/share/share.php?url='+_url+'&appkey='+_appkey+'&site='+_site+'&pic='+_pic+'&title='+_t;
				window.open( _u,'', 'width=700, height=680, top=0, left=0, toolbar=no, menubar=no, scrollbars=no, location=yes, resizable=no, status=no' );
			}
		</script>
		
		<script type="text/javascript">
			document.write('<a href="http://v.t.sina.com.cn/share/share.php?url='+encodeURIComponent(location.href)+'&appkey=3172366919&title='+encodeURIComponent('{new_addslashes($title)}')+'" title="分享到新浪微博" class="t1" target="_blank">新浪微博</a>');
		</script>
		<script type="text/javascript">
			document.write('<a href="http://www.douban.com/recommend/?url='+encodeURIComponent(location.href)+'&title='+encodeURIComponent('{new_addslashes($title)}')+'" title="分享到豆瓣" class="t2" target="_blank">豆瓣</a>');
		</script>
		<script type="text/javascript">
			document.write('<a href="http://share.renren.com/share/buttonshare.do?link='+encodeURIComponent(location.href)+'&title='+encodeURIComponent('{new_addslashes($title)}')+'" title="分享到人人" class="t3" target="_blank">人人</a>');
		</script>
		<script type="text/javascript">
			document.write('<a href="http://www.kaixin001.com/repaste/share.php?rtitle='+encodeURIComponent('{new_addslashes($title)}')+'&rurl='+encodeURIComponent(location.href)+'&rcontent=" title="分享到开心网" class="t4" target="_blank">开心网</a>');
		</script>
		<script type="text/javascript">
			document.write('<a href="http://sns.qzone.qq.com/cgi-bin/qzshare/cgi_qzshare_onekey?url='+encodeURIComponent(location.href)+'" title="分享到QQ空间" class="t5" target="_blank">QQ空间</a>');
		</script>
      
		<span id='favorite'>
			<a href="javascript:;" onclick="add_favorite('{addslashes($title)}');" class="t6">收藏</a>
		</span><!-- css id favorite end -->
		
		</div><!-- css class Article-Tool end -->
		
		<div class="bk10"></div>
		{if $allow_comment}
		<iframe src="{APP_PATH}index.php?m=comment&c=index&a=init&commentid={id_encode("content_$catid",$id,$siteid)}&iframe=1" width="100%" height="100%" id="comment_iframe" frameborder="0" scrolling="no"></iframe>
<!--评论排行-->
		<div class="review_rank">
			<h5>评论排行</h5>
			 {pc:comment action="bang" siteid="$siteid" cache="3600"}
			<ul>
			{loop $data $r}
				<li><span>已有:<b>{$r[total]}</b>人评论</span><a href="{$r[url]}" target="_blank">{str_cut($r[title], 40)}</a></li>
				{/loop}
			</ul>
			{/pc}
        </div><!-- css class box end -->
        {/if}

     	</div><!-- css class leftside end -->
	
	<div class="rightside">
		<span class="hotboard">
			<h3><span class="sp_r"></span><span class="sp_l"></span><span class="title">频道总排行</span></h3>
			<span class="outerbox">
				<ul>
				{pc:content  action="hits" catid="$catid" num="10" order="views DESC" cache="3600"}
					{loop $data $r}
						<li><a href="{$r[url]}" target="_blank" title="{$r[title]}">{str_cut($r[title], 28, '')}</a></li>
					{/loop}
				{/pc}
				</ul>
			</span>
		</span>
		
		<span class="seboard">
			<h3><span class="sp_r"></span><span class="sp_l"></span><span class="title">频道本月排行</span></h3>
			<span class="outerbox">
				<ul>
				{pc:content action="hits" catid="$catid" num="10" order="monthviews DESC" cache="3600"}
					{loop $data $r}
					<li><span>已<b>{number_format($r[monthviews])}</b>人评论</span><a href="{$r[url]}"{title_style($r[style])} class="title" title="{$r[title]}">{str_cut($r[title],40,'...')}</a></li>
					{/loop}
				{/pc}
				</ul>
			</span>
		</span>
	</div>
	
	<div class="clear">&nbsp;</div>
</div><!-- css id boardbox end -->
<script type="text/javascript">
<!--
	function show_ajax(obj) {
		var keywords = $(obj).text();
		var offset = $(obj).offset();
		var jsonitem = '';
		$.getJSON("{APP_PATH}index.php?m=content&c=index&a=json_list&type=keyword&modelid={$modelid}&id={$id}&keywords="+encodeURIComponent(keywords),
				function(data){
				var j = 1;
				var string = "<div class='point key-float'><div style='position:relative'><div class='arro'></div>";
				string += "<a href='JavaScript:;' onclick='$(this).parent().parent().remove();' hidefocus='true' class='close'><span>关闭</span></a><div class='contents f12'>";
				if(data!=0) {
				  $.each(data, function(i,item){
					j = i+1;
					jsonitem += "<a href='"+item.url+"' target='_blank'>"+j+"、"+item.title+"</a><BR>";
					
				  });
					string += jsonitem;
				} else {
					string += '没有找到相关的信息！';
				}
					string += "</div><span class='o1'></span><span class='o2'></span><span class='o3'></span><span class='o4'></span></div></div>";		
					$(obj).after(string);
					$('.key-float').mouseover(
						function (){
							$(this).siblings().css({"z-index":0})
							$(this).css({"z-index":1001});
						}
					)
					$(obj).next().css({ "left": +offset.left-100, "top": +offset.top+$(obj).height()+12});
				});
	}

	function add_favorite(title) {
		$.getJSON('{APP_PATH}api.php?op=add_favorite&title='+encodeURIComponent(title)+'&url='+encodeURIComponent(location.href)+'&'+Math.random()+'&callback=?', function(data){
			if(data.status==1)	{
				$("#favorite").html('收藏成功');
			} else {
				alert('请登录');
			}
		});
	}

$(function(){
  $('#Article .content img').LoadImage(true, 660, 660,'{IMG_PATH}s_nopic.gif');    
})
//-->
</script>

<script language="JavaScript" src="{APP_PATH}api.php?op=count&id={$id}&modelid={$modelid}"></script>
{template "content","footer_cat"}l>
